package com.lagou.task04;

public class Student {

    //学号
    private String name;
    //姓名
    private int age;
    //年龄
    private int sId;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", sId=" + sId +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public Student(String name, int age, int sId) {
        this.name = name;
        this.age = age;
        this.sId = sId;
    }

    public Student() {
    }
}
